﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameEngine.Entities;
using GameEngine.EntityComponents;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace PvT.Entities
{
    public class VortexEntity : AbstractDrawableEntity
    {
        public VortexEntity(List<IEntityComponent> components, bool isActive, bool isVisible, Vector2 position, Game game) :
            base(components, isActive, isVisible, position, game)
        { }

        /// <summary>
        /// Loads the content.
        /// </summary>
        public override void LoadContent()
        {
            base.texture = game.Content.Load<Texture2D>("ObjectsAndItems/spiral");
            base.scale = 0.1f;
            this.components.Add(new VortexComponent(this));
            this.components.Add(new CollidableComponent(this, 1.0f));
        }
    }
}
